using System;
namespace JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects
{
	public class ResponseSysProductsDto{
		/// <summary>
		/// 产品类别
		/// </summary>
        public string productCategory { get; set; }
        /// <summary>
        /// 记录品牌名称，有助于消费者识别和选择。（连接到字典表）
        /// </summary>
        public string brand { get; set; }
        /// <summary>
        /// 记录品牌名称，有助于消费者识别和选择。（连接到字典表）
        /// </summary>
        public string brandName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createAt { get; set; }
		/// <summary>
		/// 创建时间字符串
		/// </summary>
		public string createAtStr { get; set; }
		/// <summary>
		/// 抵扣(购买商品时减少的金额)
		/// </summary>
		public decimal deduction { get; set; }
		/// <summary>
		/// 描述(最多1000个汉字或2000个字母或符号)
		/// </summary>
		public string description { get; set; }
		/// <summary>
		/// 折扣(百分比如20表示计算时乘以20%)
		/// </summary>
		public int discount { get; set; }
		/// <summary>
		/// 编号
		/// </summary>
		public string id { get; set; }
		/// <summary>
		/// 图片组(最多上传十张图片并使用32位uuid作为文件名)
		/// </summary>
		public string images { get; set; }
		/// <summary>
		/// 名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 价格(保留两位小数)
		/// </summary>
		public decimal price { get; set; }
		/// <summary>
		/// 评分（等于0说明没有评分）
		/// </summary>
		public decimal? rating { get; set; }
		/// <summary>
		/// 售出数(从创建日期到目前的出售数)
		/// </summary>
		public int saleCount { get; set; }
		/// <summary>
		/// 出售总金额
		/// </summary>
		public decimal saleSum { get; set; }
		/// <summary>
		/// 库存(可以在添加的时候就给值)
		/// </summary>
		public int? stockQuantity { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? updateAt { get; set; }
		/// <summary>
		/// 修改时间字符串
		/// </summary>
		public string updateAtStr { get; set; }
	}
}
